package com.itheima.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * ClassName:Customer
 * Package:com.itheima.domain
 * Description:
 * Date:2020/3/16 23:29
 * User: snow
 */
public class Customer implements Serializable {
	private String id;
	private String customerName;
	private String customerLevel;
	private String customerSource;
	private String customerIndustry;
	private String customerPhone;
	private String customerEmail;
	private String customerAddr;
	private String customerDesc;
	private Date creatTime;

	// 一对一
	// 客户创建者
	private UserInfo creatInfo;//createrId
	// 客户负责人
	private UserInfo userInfo;//userId
	// 客户联系人
	private List<LinkMan> linkMan;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}


	public String getCustomerSource() {
		return customerSource;
	}

	public void setCustomerSource(String customerSource) {
		this.customerSource = customerSource;
	}

	public String getCustomerIndustry() {
		return customerIndustry;
	}

	public void setCustomerIndustry(String customerIndustry) {
		this.customerIndustry = customerIndustry;
	}

	public String getCustomerPhone() {
		return customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	public String getCustomerEmail() {
		return customerEmail;
	}

	public void setCustomerEmail(String customerEmail) {
		this.customerEmail = customerEmail;
	}

	public String getCustomerLevel() {
		return customerLevel;
	}

	public void setCustomerLevel(String customerLevel) {
		this.customerLevel = customerLevel;
	}

	public String getCustomerAddr() {
		return customerAddr;
	}

	public void setCustomerAddr(String customerAddr) {
		this.customerAddr = customerAddr;
	}

	public String getCustomerDesc() {
		return customerDesc;
	}

	public void setCustomerDesc(String customerDesc) {
		this.customerDesc = customerDesc;
	}

	public UserInfo getCreatInfo() {
		return creatInfo;
	}

	public void setCreatInfo(UserInfo creatInfo) {
		this.creatInfo = creatInfo;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public List<LinkMan> getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(List<LinkMan> linkMan) {
		this.linkMan = linkMan;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	@Override
	public String toString() {
		return "Customer{" +
				"id='" + id + '\'' +
				", customerName='" + customerName + '\'' +
				", customerLevel='" + customerLevel + '\'' +
				", customerSource='" + customerSource + '\'' +
				", customerIndustry='" + customerIndustry + '\'' +
				", customerPhone='" + customerPhone + '\'' +
				", customerEmail='" + customerEmail + '\'' +
				", customerAddr='" + customerAddr + '\'' +
				", customerDesc='" + customerDesc + '\'' +
				", created=" + creatInfo +
				", user=" + userInfo +
				", linkMan=" + linkMan +
				", creatTime=" + creatTime +
				'}';
	}
}
